

            <!-- =============================================== -->
            <!-- Content Wrapper. Contains page content -->
            <div class="content-wrapper">
                <!-- Content Header (Page header) -->
                <section class="content-header">
                    <div class="header-icon">
                        <i class="pe-7s-world"></i>
                    </div>
                    <div class="header-title">
                        <h1><?php echo display('doctoress_dashboard');?></h1>
                        <small><?php echo display('doctoress_dashboard');?></small>
                       
                    </div>
                </section>

                
                <!-- Main content -->
                <section class="content">
                    <div class="row">

                        <div class="col-xs-12 col-sm-6 col-md-6 col-lg-3">
                            <div class="panel panel-bd">
                            <a href="<?php echo base_url();?>admin/Doctor_controller/doctor_list">
                                <div class="panel-body">
                                    <div class="statistic-box">
                                        <h2><span class="count-number"><?php echo html_escape(count(@$doctor))?></span> </h2>
                                            <div class="small"> Total Doctor</div>
                                        <div class="sparkline1 text-center"></div>
                                    </div>
                                    <div class="icon"><i class="ti-user"></i></div>
                                </div>
                            </a>    
                            </div>
                        </div>

                        <div class="col-xs-12 col-sm-6 col-md-6 col-lg-3">
                            <div class="panel panel-bd">
                            <a href="<?php echo base_url();?>patient_list">
                                <div class="panel-body">
                                    <div class="statistic-box">
                                        <h2><span class="count-number"><?php echo html_escape(@$total_patient);?></span> </h2>
                                            <div class="small"> <?php echo display('total_patient')?> </div>
                                        <div class="sparkline1 text-center"></div>
                                    </div>
                                    <div class="icon"><i class="ti-user"></i></div>
                                </div>
                            </a>    
                            </div>
                        </div>

                        <div class="col-xs-12 col-sm-6 col-md-6 col-lg-3">
                            <div class="panel panel-bd">
                                <a href="#">
                                    <div class="panel-body">
                                        <div class="statistic-box">
                                            <h2><span class="count-number"><?php echo html_escape(count(@$today_patient));?></span> </h2>
                                                <div class="small"> <?php echo display('today_patient')?> </div>
                                            <div class="sparkline1 text-center"></div>
                                        </div>
                                        <div class="icon"><i class="ti-user"></i></div>
                                    </div>
                                </a>    
                            </div>
                        </div>

                       
                        <div class="col-xs-12 col-sm-6 col-md-6 col-lg-3">
                            <div class="panel panel-bd">
                            <a href="<?php echo base_url();?>admin/Appointment_controller/today_appointment_list">
                                <div class="panel-body">
                                   <div class="statistic-box">
                                        <h2><span class="count-number"><?php echo html_escape(count($today_appointment));?></span></h2>
                                        <div class="small"><?php echo display('today_appointment')?></div>
                                    </div>
                                       <div class="icon"><i class="ti-notepad"></i></div>
                                </div>
                            </a>    
                            </div>
                        </div>

                        <div class="col-xs-12 col-sm-6 col-md-6 col-lg-3">
                            <div class="panel panel-bd">
                            <a href="<?php echo base_url();?>admin/Appointment_controller/today_gate_appointment_list">
                                <div class="panel-body">
                                    <div class="statistic-box">
                                        <h2><span class="count-number"><?php echo html_escape(count(@$to_day_get_appointment));?></span></h2>
                                        <div class="small"><?php echo display('new_appointment')?></div>
                                    </div>
                                    <div class="icon"><i class="ti-notepad"></i></div>
                                </div>
                            </a>
                            </div>
                        </div>

                        <div class="col-xs-12 col-sm-6 col-md-6 col-lg-3">
                            <div class="panel panel-bd">
                            <a href="<?php echo base_url();?>admin/Appointment_controller/appointment_list">
                                <div class="panel-body">
                                    <div class="statistic-box">
                                        <h2><span class="count-number"><?php echo html_escape(count(@$total_appointment));?></span></h2>
                                        <div class="small"><?php echo display('total_appointment')?></div>
                                    </div>
                                    <div class="icon"><i class="ti-notepad"></i></div>
                                </div>
                            </a>
                            </div>
                        </div>

                        <div class="col-xs-12 col-sm-6 col-md-6 col-lg-3">
                            <div class="panel panel-bd">
                            <a href="<?php echo base_url();?>admin/Prescription_controller/today_prescription_list">
                                <div class="panel-body">
                                    <div class="statistic-box">
                                        <h2><span class="count-number"><?php echo html_escape(count(@$today_prescription)); ?></span></h2>
                                        <div class="small"></i> <?php echo display('today_prescription')?></div>
                                        
                                    </div>
                                     <div class="icon"><i class="ti-notepad"></i></div>
                                </div>
                            </a>    
                            </div>
                        </div>

                        <div class="col-xs-12 col-sm-6 col-md-6 col-lg-3">
                            <div class="panel panel-bd">
                             <a href="<?php echo base_url();?>admin/Prescription_controller/prescription_list">
                                <div class="panel-body">
                                    <div class="statistic-box">
                                        <h2><span class="count-number"><?php echo html_escape(count(@$total_prescription)) ?></span></h2>
                                        <div class="small"><?php echo display('total_prescription')?></div>
                                        
                                    </div>
                                    <div class="icon"><i class="ti-notepad"></i></div>
                                </div>
                            </a>    
                            </div>
                        </div>
                    </div>

                    <div class="row">
                         <!-- Bar Chart -->
                        <div class="col-sm-12 col-md-12">
                            <div class="panel panel-bd lobidisable">
                                <div class="panel-heading">
                                    <div class="panel-title">
                                        <h4><?php echo display('appointment_chart')?></h4>
                                    </div>
                                </div>
                                <div class="panel-body">
                                    <canvas id="barChart" height="140"></canvas>
                                </div>
                            </div>
                        </div>
                    </div>
                </section> <!-- /.content -->
            </div> <!-- /.content-wrapper -->


            <?php $this->load->view('admin/admin_script/dashboard.php');?>